package com.ruoyi.system.service.backend.impl;

import com.ruoyi.system.controller.CxBase;
import com.ruoyi.system.domain.CooperativeMerchant;
import com.ruoyi.system.domain.backend.*;
import com.ruoyi.system.domain.front.DicData;
import com.ruoyi.system.domain.front.RecommendFrontInfo;
import com.ruoyi.system.domain.front.RecommendPage;
import com.ruoyi.system.mapper.backend.MerchantBackMapper;
import com.ruoyi.system.mapper.front.MerchantFrontMapper;
import com.ruoyi.system.service.backend.IMerchantBackService;
import com.ruoyi.system.service.front.IStudentFrontService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class MerchantBackServiceImpl extends CxBase implements IMerchantBackService {
    @Autowired
    private MerchantBackMapper merchantBackMapper;
    @Autowired
    private IStudentFrontService studentFrontService;
    /**
     * 查询奖品广告
     *
     * @param PrAdType 查询信息
     * @return 报警列表
     */
    public List<PrAdType> selectPrAd(PrAdType PrAdType){
        if(!checkNull(PrAdType.getType())) {
            return merchantBackMapper.selectPrAd(PrAdType);
        }
        else{
            return null;
        }
    }




}
